Writing code in terminal